package com.legrand.www.module.security.annotation;

import com.legrand.www.module.security.config.AimeiSecrityConfig;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author xiah
 * @date 2018/5/7 10:26
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@EnableWebSecurity
@ImportAutoConfiguration(AimeiSecrityConfig.class)
public @interface SecurityAnnoTation {
}
